<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Document</title>
    <script src="js/react.development.js"></script>
    <script src="js/react-dom.development.js"></script>
    
    <!-- 以下js库负责编译es6语法和jsx语法，编译成浏览器可以识别的语法 -->
    <script src="js/babel.min.js"></script>
</head>
<body>
    <div id="root"></div>

    <script type="text/babel">
        ReactDOM.render(
            <h1>hello world!</h1>,
            document.getElementById('root')
        )    
    </script>

</body>
</html>